home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Hunks
/
Hot Hunks.iso
/
menu
/
gifv.sli
< prev
next >
Wrap
Text File
|
1993-02-17
|
782b
|
33 lines
;
; GIFV.SLI
; This script shows how to use the debuging command DISPLAY Vx and ECHO
; to show(as the script is running) information about the variables and
; to echo text messages.
;
; This loops through 10 files. The first 5 files have a message that says
; they are in the first 5. The 7th file says it's the 7th file.
;
set v0 9
display v0
set v1 1
display v1
display v2
change-path f:\*.gif
:loop
loadnext :exit
set v1 +
display v1
if v1<5 :doLess5
if v1=7 :do7
if v1>10 :exit
goto :loop
:doLess5
echo We are still less than 5
wait 2
goto :loop
:do7
echo We are now 7
wait 2
goto :loop
:exit